package com.yanheng.springbootjdbcTemplate.service;

import java.util.List;

import com.yanheng.springbootjdbcTemplate.domain.User;

public interface UserService {

	void saveUser(User user);
	
	void updateUser(Long id, User user);
	
	User getUser(Long id);
	
	void deleteUserById(Long id);
	
	List<User> getAllUsers();
	
	void deleteAllUsers();
}
